	<style>
		#metable{
			width:100%;
		}
		#metable th{
			text-align:center;
		}
		#metable td{
			text-align:center;
		}
	</style>
	<include file='Public/header' />
	<h1 class="page-header">用户维护</h1>
	<form action="{:U('search')}" method="post" class="navbar-form navbar-left">
			<include file="Public/search"/>	
	</form>
	<a class="pull-right" href="{:U('form')}">用户添加</a>
	<form method='POST' action='index'>

	<table id="metable" class='table table-striped'>
<tr><th>头像</th><th>用户名</th><th>联系方式</th><th>默认收货地址</th><th>其他收货地址</th><th>注册时间</th><th colspan='2'>操作</th></tr>

<volist name="list" id='vo'>
	<tr>
		<td><image src="__PUBLIC__/photo/{$vo.pic}"></td>
		<td>{$vo.name}</td>
		<td>{$vo.phone}</td>
		<td>{$vo.location}</td>
		<td><a href="{:U('Uaddress/index',array('id'=>$vo['id']))}">查看</a></td>
		<td>{$vo.regtime}</td>
		<td><include file='Public/button'/>
	</tr>
</volist>
</table>
</form>
<div class="text-center">
	<ul class="pagination">{$page}</ul>
</div>
<include file='Public/footer'/>
